<!--
  Generated template for the MePage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar>
    <ion-title>我的</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <div class="me-header">
    <!-- <img src="assets/imgs/people.png"/> -->
    <ion-icon name="person" style="font-size:5em;color: #5477b0;"></ion-icon>
    <div class="user-info">
      <p class="user-name">{{user.userName}}</p>
      <p class="user-company">{{user.departmentName}}</p>
    </div>
  </div>
  <ion-list class="bhq-list me-list">
    <ion-item-group>
      <ion-item class="bhq-item" *ngIf="securityService.user" (click)='securityService.logout();goLogin();'>
        <ion-thumbnail item-start>
          <!-- <img src="assets/imgs/loginOut.png"> -->
          <ion-icon name="power" style="color: #5477b0;"></ion-icon>
        </ion-thumbnail>
        <h2 class="bhq-item-title">退出登录</h2>
      </ion-item>
      <!-- <ion-item class="bhq-item">
        <ion-thumbnail item-start>
          <img src="assets/imgs/album.png">
        </ion-thumbnail>
        <h2 class="bhq-item-title">修改密码</h2>
      </ion-item>-->
      <ion-item class="bhq-item">
        <ion-thumbnail item-start>
          <!-- <img src="assets/imgs/xtbb.png"> -->
          <ion-icon name="ribbon" style="color: #5477b0;"></ion-icon>
        </ion-thumbnail>
        <h2 class="bhq-item-title">系统版本</h2>
      </ion-item>
    </ion-item-group>
    <!--<ion-item-group>
      <ion-item class="bhq-item">
        <ion-thumbnail item-start>
          <img src="assets/imgs/setting.png">
        </ion-thumbnail>
        <h2 class="bhq-item-title">设置</h2>
      </ion-item>
    </ion-item-group>-->
  </ion-list>
</ion-content>